#pragma once

template<class TFrame>
class CExplorerFrmImplT
{
protected:
	typedef CExplorerFrmImplT<TFrame> CExplorerFrmImpl;

protected:
	CExplorerFrmImplT() {}

public:
	STDMETHOD(GetWindow)(HWND * lphwnd)
	{
		*lphwnd = static_cast<TFrame*>(this)->m_hWnd; 
		return S_OK; 
	}
};